WPS Office.apk(点击下载) / zdd.java


package defpackage;

import com.google.firebase.perf.FirebasePerformance;
import defpackage.yzj;
import java.io.IOException;
import java.io.InputStream;

/* renamed from: zdd  reason: default package */
public final class zdd extends yzj {

    /* renamed from: zdd$a */
    public static final class a extends yzj.a {
        public a(zag zag, zbc zbc, zac zac) {
            super(zag, zbc, "https://www.googleapis.com/", "drive/v3/", zac, false);
        }

        /* access modifiers changed from: private */
        /* renamed from: aeq */
        public a adL(String str) {
            return (a) super.adI(str);
        }

        /* access modifiers changed from: private */
        /* renamed from: aer */
        public a adM(String str) {
            return (a) super.adJ(str);
        }

        /* renamed from: aes */
        public final a adN(String str) {
            return (a) super.adK(str);
        }
    }

    /* renamed from: zdd$b */
    public class b {

        /* renamed from: zdd$b$a */
        public class a extends zde<zdf> {
            @zch
            private Boolean ignoreDefaultVisibility;
            @zch
            private Boolean keepRevisionForever;
            @zch
            private String ocrLanguage;
            @zch
            private Boolean useContentAsIndexableText;

            protected a(zdf zdf) {
                super(zdd.this, FirebasePerformance.HttpMethod.POST, "files", zdf, zdf.class);
            }

            protected a(zdf zdf, yzm yzm) {
                super(zdd.this, FirebasePerformance.HttpMethod.POST, "/upload/" + zdd.this.ALR + "files", zdf, zdf.class);
                a(yzm);
            }

            /* access modifiers changed from: private */
            /* renamed from: K */
            public a L(String str, Object obj) {
                return (a) super.G(str, obj);
            }

            /* renamed from: aeu */
            public final a aev(String str) {
                return (a) super.aev(str);
            }
        }

        /* renamed from: zdd$b$b  reason: collision with other inner class name */
        public class C0239b extends zde<Void> {
            @zch
            private String fileId;
            @zch
            private String mimeType;

            protected C0239b(String str, String str2) {
                super(zdd.this, "GET", "files/{fileId}/export", null, Void.class);
                this.fileId = (String) zcq.checkNotNull(str, "Required parameter fileId must be specified.");
                this.mimeType = (String) zcq.checkNotNull(str2, "Required parameter mimeType must be specified.");
                gKs();
            }

            /* access modifiers changed from: private */
            /* renamed from: M */
            public C0239b L(String str, Object obj) {
                return (C0239b) super.G(str, obj);
            }

            /* Return type fixed from 'zde' to match base method */
            @Override // defpackage.zde
            public final /* bridge */ /* synthetic */ zde<Void> aev(String str) {
                return (C0239b) super.aev(str);
            }

            @Override // defpackage.yzh
            public final zad gKv() throws IOException {
                return super.gKv();
            }

            @Override // defpackage.yzh
            public final InputStream gKw() throws IOException {
                return super.gKw();
            }
        }

        /* renamed from: zdd$b$c */
        public class c extends zde<zdf> {
            @zch
            private Boolean acknowledgeAbuse;
            @zch
            private String fileId;

            protected c(String str) {
                super(zdd.this, "GET", "files/{fileId}", null, zdf.class);
                this.fileId = (String) zcq.checkNotNull(str, "Required parameter fileId must be specified.");
                gKs();
            }

            /* access modifiers changed from: private */
            /* renamed from: N */
            public c L(String str, Object obj) {
                return (c) super.G(str, obj);
            }

            /* renamed from: aew */
            public final c aev(String str) {
                return (c) super.aev(str);
            }

            @Override // defpackage.yzh
            public final yzs gKt() {
                return new yzs(zam.a((!"media".equals(get("alt")) || this.ALM != null) ? zdd.this.gKp() : zdd.this.ALQ + "download/" + zdd.this.ALR, this.ALZ, (Object) this, true));
            }

            @Override // defpackage.yzh
            public final zad gKv() throws IOException {
                return super.gKv();
            }

            @Override // defpackage.yzh
            public final InputStream gKw() throws IOException {
                return super.gKw();
            }
        }

        /* renamed from: zdd$b$d */
        public class d extends zde<zdg> {
            @zch
            private String corpus;
            @zch
            private String orderBy;
            @zch
            private Integer pageSize;
            @zch
            public String pageToken;
            @zch
            public String q;
            @zch
            private String spaces;

            protected d() {
                super(zdd.this, "GET", "files", null, zdg.class);
            }

            /* access modifiers changed from: private */
            /* renamed from: O */
            public d L(String str, Object obj) {
                return (d) super.G(str, obj);
            }

            /* renamed from: aex */
            public final d aev(String str) {
                return (d) super.aev(str);
            }
        }

        /* renamed from: zdd$b$e */
        public class e extends zde<zdf> {
            @zch
            private String addParents;
            @zch
            private String fileId;
            @zch
            private Boolean keepRevisionForever;
            @zch
            private String ocrLanguage;
            @zch
            private String removeParents;
            @zch
            private Boolean useContentAsIndexableText;

            protected e(String str, zdf zdf) {
                super(zdd.this, "PATCH", "files/{fileId}", zdf, zdf.class);
                this.fileId = (String) zcq.checkNotNull(str, "Required parameter fileId must be specified.");
            }

            protected e(String str, zdf zdf, yzm yzm) {
                super(zdd.this, "PATCH", "/upload/" + zdd.this.ALR + "files/{fileId}", zdf, zdf.class);
                this.fileId = (String) zcq.checkNotNull(str, "Required parameter fileId must be specified.");
                a(yzm);
            }

            /* access modifiers changed from: private */
            /* renamed from: P */
            public e L(String str, Object obj) {
                return (e) super.G(str, obj);
            }

            /* renamed from: aey */
            public final e aev(String str) {
                return (e) super.aev(str);
            }
        }

        public b() {
        }

        public final a a(zdf zdf, yzm yzm) throws IOException {
            a aVar = new a(zdf, yzm);
            zdd zdd = zdd.this;
            return aVar;
        }

        public final e a(String str, zdf zdf) throws IOException {
            e eVar = new e(str, zdf);
            zdd zdd = zdd.this;
            return eVar;
        }

        public final e a(String str, zdf zdf, yzm yzm) throws IOException {
            e eVar = new e(str, zdf, yzm);
            zdd zdd = zdd.this;
            return eVar;
        }

        public final c aet(String str) throws IOException {
            c cVar = new c(str);
            zdd zdd = zdd.this;
            return cVar;
        }

        public final a b(zdf zdf) throws IOException {
            a aVar = new a(zdf);
            zdd zdd = zdd.this;
            return aVar;
        }

        public final d gLm() throws IOException {
            d dVar = new d();
            zdd zdd = zdd.this;
            return dVar;
        }

        /* renamed from: if  reason: not valid java name */
        public final C0239b m253if(String str, String str2) throws IOException {
            C0239b bVar = new C0239b(str, str2);
            zdd zdd = zdd.this;
            return bVar;
        }
    }

    static {
        boolean z = yyu.AKR.intValue() == 1 && yyu.AKS.intValue() >= 15;
        Object[] objArr = {yyu.VERSION};
        if (!z) {
            throw new IllegalStateException(zbp.format("You are currently running with version %s of google-api-client. You need at least version 1.15 of google-api-client to run version 1.22.0 of the Drive API library.", objArr));
        }
    }

    public zdd(zag zag, zbc zbc, zac zac) {
        this(new a(zag, zbc, zac));
    }

    public zdd(a aVar) {
        super(aVar);
    }

    public final b gLl() {
        return new b();
    }
}